package com.coderman.common.model.business;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "biz_health")
public class Health implements Serializable {

	private static final long serialVersionUID = -8827926101885742969L;

	@Id
	private Long id;

	private String address;

	private Long userId;

	private Integer situation;

	private Integer touch;

	private Integer passby;

	private Integer reception;

	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

}
